package com.ontheroad.topic.model;

import java.io.Serializable;
import java.util.Date;

import org.mybatis.annotation.Table;


/**
 * TopicUser对象定义
 * <p>
 * 工具自动生成代码
 *
 * @author Admin
 */
@Table(pkId = {"id"}, tabName = "topic_user")
public class TopicUserModel implements Serializable {

    /**
     * uid
     */
    private static final long serialVersionUID = 1L;
    /**  */
    private Integer id;
    /**
     * 话题ID
     */
    private Integer topicId;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 取得
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 取得话题ID
     */
    public Integer getTopicId() {
        return topicId;
    }

    /**
     * 设置话题ID
     */
    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    /**
     * 取得用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
